<template>
	<div>
		<view>
			<view class="item">
				<view class="tlt">{{type==0?'支出':'收入'}}{{item.amount}}元</view>
				<view class="status">成功</view>
			</view>
			<view class="item" style="margin-top: 10px;">
				<view class="orgin">{{item.title}}</view>
				<view class="orgin">{{item.updateDate}}</view>
			</view>
		</view>
	</div>
</template>

<script>
	export default {
		props:['item','type']
	}
</script>

<style lang="scss" scoped>
	.item{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
	.tlt{
		color: #333333;
		font-size: 14px;
		font-weight: bold;
	}
	.status{
		color: #6ABF6C;
		font-size: 14px;
	}
	.orgin{
		color: #999999;
		font-size: 12px;
	}
</style>
